import time
from my_package import my_tools

t = time.time()  # 时间戳：1970年
print(t)
t = time.localtime()
print(t)
print(t.tm_year, type(t.tm_year))
s = time.strftime('%Y-%m-%d %H:%M:%S', t)
print(s)
print(my_tools.get_time())